<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>南昌旅游路线规划系统</title>
    <script>
        // 在页面加载前忽略 ResizeObserver 警告和 Script error
        window.addEventListener('error', function(e) {
            if (e.message && (
                e.message.includes('ResizeObserver') ||
                e.message.includes('ResizeObserver loop') ||
                e.message === 'Script error.' ||
                e.message.includes('Script error')
            )) {
                e.stopImmediatePropagation();
                return false;
            }
        }, true);
        
        // 忽略未处理的 Promise 拒绝中的 Script error
        window.addEventListener('unhandledrejection', function(e) {
            if (e.reason && (
                e.reason.message === 'Script error.' ||
                e.reason.message?.includes('Script error')
            )) {
                e.preventDefault();
                return false;
            }
        });
    </script>
    <!-- 高德地图API - 将在组件中动态加载 -->
</head>
<body>
    <div id="app"></div>
</body>
</html>
